POV-Ray : Newsgroups : povray.newusers : Dropping the horizon : Dropping the horizon Server Time
2 Nov 2024 13:20:36 EDT (-0400)
  Dropping the horizon  
From: Michael Robison
Date: 6 Mar 2004 06:48:27
Message: <4049ba8b@news.povray.org>
Hello,

I cut and pasted a sky and I've got a problem with a solid blue plane
showing
up above the grass.  I've tried to drop it down but nothing I do moves it
down.
I would appreciate it if you could help me drop the sky line's horizon down
a
bit.  Thank you!

Michael

Here is the code:

#declare mysky =
material
    { texture
       { pigment
          { granite
            color_map
             {
               [ 0.0     rgbft <1.0, 1.0, 1.0, 0.0, 1.0> ]
               [ 1.0     rgbft <1.0, 1.0, 1.0, 0.0, 0.0> ]
             }
            turbulence 1.0
            omega 0.3
            ramp_wave
          }
         finish
           { ambient 1
           }
       }
    }
sky_sphere
{ pigment
  { gradient y color_map
      { [0 rgb 1]
        [.3 rgb <0,.5,1>]
        [1 rgb z]
      }
  }
}
plane
  { -y, -500
    material
      { mysky
        scale 5000
      }
  }


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.